package com.example.traning.mall.dal.dataobject.account;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.traning.mall.framework.mybatis.core.BaseDO;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author Lei Yu
 * @since 2025-04-29
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("account_role")
public class AccountRole extends BaseDO {

    /**
     * 数据ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 名称
     */
    private String name;

    /**
     * 简介
     */
    private String description;

    /**
     * 排序序号
     */
    private Byte sort;
}
